package com.example.exercise.appmanage.user.mapper;

import com.example.exercise.appmanage.user.mapper.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMgMapper {

    /**以下是用户管理的部分*/

    List<UserEntity> getUserList(@Param("userName") String userName, @Param("begin") int begin, @Param("pageSize") int pageSize);

    UserEntity findByUserId(Integer userId);

    void modifyUseState(Integer userId);

    Integer getTotalCount(String userName);

}